package com.book.domain;

public class Product {

	int id;
	int userid;
	String bookname;
	float bookprice;
	int bookcount;
	float booksprice;
	int productid;
	public int getProductid() {
		return productid;
	}
	public void setProductid(int productid) {
		this.productid = productid;
	}
	public int getId() {
		return id;
	}
	public int getUserid() {
		return userid;
	}
	public String getBookname() {
		return bookname;
	}
	public void setId(int id) {
		this.id = id;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public void setBookname(String bookname) {
		this.bookname = bookname;
	}
	public void setBookprice(float bookprice) {
		this.bookprice = bookprice;
	}
	public void setBookcount(int bookcount) {
		this.bookcount = bookcount;
	}
	public void setBooksprice(float booksprice) {
		this.booksprice = booksprice;
	}
	public float getBookprice() {
		return bookprice;
	}
	public int getBookcount() {
		return bookcount;
	}
	public float getBooksprice() {
		return booksprice;
	}
	@Override
	public String toString() {
		return "Product [id=" + id + ", userid=" + userid + ", bookname="
				+ bookname + ", bookprice=" + bookprice + ", bookcount="
				+ bookcount + ", booksprice=" + booksprice + ", productid="
				+ productid + "]";
	}
	public Product(int id, int userid, String bookname, float bookprice,
			int bookcount, float booksprice) {
		super();
		this.id = id;
		this.userid = userid;
		this.bookname = bookname;
		this.bookprice = bookprice;
		this.bookcount = bookcount;
		this.booksprice = booksprice;
	}
	public Product(){
		
	}
	public Product(int id, int userid, String bookname, float bookprice,
			int bookcount, float booksprice, int productid) {
		super();
		this.id = id;
		this.userid = userid;
		this.bookname = bookname;
		this.bookprice = bookprice;
		this.bookcount = bookcount;
		this.booksprice = booksprice;
		this.productid = productid;
	}
	
}
